<div class="app_items_container">
	[%if count($array)>0%]
	[%forlist from=$array key=i%]
	<div class="col-md-4 p5" data-id="[%$array[i].appid%]" >
		<div class="card kill_copy">
			<div class="app_icon_wrapper">
				<img src="[%$array[i].pic%]" alt="[%$array[i].applyname%]">
			</div>
			<div class="app_content">
				<div class="app_title">
					<h6>
						[%$array[i].applyname%]
						<span class="app_val">[%$array[i].applyvol%]</span>
						[%if $array[i].isupdate%]
						<span class="label label-danger">[%pack:setting_pack-espcms_extensions_leble_update%]</span>
						[%/if%]
					</h6>
				</div>
				<div class="app_description">
					[%if $array[i].applycontent%][%$array[i].applycontent%][%else%][%pack:public_pack-espcms_no_about%][%/if%]
				</div>
			</div>
			<div class="app_botton">
				<div class="app_botton_l">
					[%if $array[i].isopen%]
					<div class="btn-group dropup">
						<button type="button" class="btn btn-green btn-padding10 dropdown-toggle btn-sm" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">[%pack:public_pack-espcms_lable_control_name%] <span class="caret"></span></button>
						<ul class="dropdown-menu list_menu">
							<li><a class="info_stop" data-id="[%$array[i].appid%]"><span class="espcms_icon_fa espcms_icon_fa-minus-circle" aria-hidden="true"></span>[%pack:setting_pack-espcms_extensions_button_stop%]</a></li>
							[%if $array[i].issqlbak%]
							<li><a class="info_reset" data-id="[%$array[i].appid%]"><span class="espcms_icon_fa espcms_icon_fa-repeat" aria-hidden="true"></span>[%pack:setting_pack-espcms_extensions_button_reset%]</a></li>
							[%/if%]
							<li><a class="info_del" data-id="[%$array[i].appid%]"><span class="espcms_icon_fa espcms_icon_fa-trash-o" aria-hidden="true"></span>[%pack:setting_pack-espcms_extensions_button_uninstall%]</a></li>
							[%if $array[i].isupdate%]
							<li><a class="app_update" data-id="[%$array[i].appid%]"><span class="espcms_icon_fa espcms_icon_fa-refresh" aria-hidden="true"></span>[%pack:setting_pack-espcms_extensions_button_update%]</a></li>
							[%/if%]
						</ul>
					</div>
					[%else%]
					<div class="btn-group">
						<button type="button" class="btn btn-orange btn-padding10 dropdown-toggle btn-sm" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">[%pack:public_pack-espcms_lable_control_name%] <span class="caret"></span></button>
						<ul class="dropdown-menu list_menu">
							<li><a class="info_open" data-id="[%$array[i].appid%]"><span class="espcms_icon_fa espcms_icon_fa-check-circle" aria-hidden="true"></span>[%pack:setting_pack-espcms_extensions_button_open%]</a></li>
							<li><a class="info_del" data-id="[%$array[i].appid%]"><span class="espcms_icon_fa espcms_icon_fa-trash-o" aria-hidden="true"></span>[%pack:setting_pack-espcms_extensions_button_uninstall%]</a></li>
						</ul>
					</div>
					[%/if%]
				</div>
				<div class="app_botton_r">
					[%if $array[i].isset==1%]
					<button type="button" class="btn btn-addblue espcms_tab_link btn-sm" tab_icon="espcms_icon_fa espcms_icon_fa-cog" tab_name="[%pack:setting_pack-espcms_extensions_button_set%]" tab_close="false" tab_url="[%$array[i].seturl%]"><i class="espcms_icon_fa espcms_icon_fa-cog" aria-hidden="true"></i>[%pack:setting_pack-espcms_extensions_button_set%]</button>
					[%else%]
					<button type="button" class="btn btn-addblue espcms_tab_link btn-sm ml5" disabled="disabled">[%pack:setting_pack-espcms_extensions_button_set%]</button>
					[%/if%]
				</div>
			</div>
		</div>
	</div>
	[%/forlist%]
	[%/if%]
</div>
